﻿using System;
using System.Data;

/// <summary>
/// T_Corporation 的摘要说明
/// </summary>
namespace Corporation
{
    public class TCorporation
    {
        public TCorporation()
        {
            //
            // TODO: 在此处添加构造函数逻辑
            //
        }
        #region Model
        private int _id;
        private string _name;
        private string _nature;
        private string _businessmodel;
        private string _dealinadd;
        private string _product;
        private string _industry;
        private string _summary;
        private string _region;
        private string _street;
        private string _postalcode;
        private string _url;
        private int _capital;
        private DateTime _established;
        private string _registeraddress;
        private string _corporate;
        private DateTime _startdate;
        private DateTime _enddate;
        private string _logo;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Name
        {
            set { _name = Base.Common.FilterHtml(value); }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Nature
        {
            set { _nature = Base.Common.FilterHtml(value); }
            get { return _nature; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BusinessModel
        {
            set { _businessmodel = Base.Common.FilterHtml(value); }
            get { return _businessmodel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string DealinAdd
        {
            set { _dealinadd = Base.Common.FilterHtml(value); }
            get { return _dealinadd; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Product
        {
            set { _product = Base.Common.FilterHtml(value); }
            get { return _product; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Industry
        {
            set { _industry = Base.Common.FilterHtml(value); }
            get { return _industry; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Summary
        {
            set { _summary = Base.GetRequest.RemoveHTMLForEditor(value); }
            get { return _summary; }
        }
        /// <summary>
        /// 
        /// </summary>
       public string Region
        {
            set { _region = Base.Common.FilterHtml(value); }
            get { return _region; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Street
        {
            set { _street = Base.Common.FilterHtml(value); }
            get { return _street; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Postalcode
        {
            set { _postalcode = Base.Common.FilterHtml(value); }
            get { return _postalcode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string URL
        {
            set { _url = Base.Common.FilterHtml(value); }
            get { return _url; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Capital
        {
            set { _capital = value; }
            get { return _capital; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime Established
        {
            set { _established = value; }
            get { return _established; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string RegisterAddress
        {
            set { _registeraddress = Base.Common.FilterHtml(value); }
            get { return _registeraddress; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Corporate
        {
            set { _corporate = Base.Common.FilterHtml(value); }
            get { return _corporate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime StartDate
        {
            set { _startdate = value; }
            get { return _startdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime EndDate
        {
            set { _enddate = value; }
            get { return _enddate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Logo
        {
            set { _logo = Base.Common.FilterHtml(value); }
            get { return _logo; }
        }
        #endregion Model
    }
}
